package com.sxjh.entity.param;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotNull;
import java.time.LocalDate;

@Data
public class Finance9Param {

  @ApiModelProperty("开始时间")
  @NotNull(message = "开始时间不能为空")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private LocalDate startDate;

  @ApiModelProperty("结束时间")
  @NotNull(message = "结束时间")
  @DateTimeFormat(pattern = "yyyy-MM-dd")
  private LocalDate endDate;

}
